package com.zenith.api.po.dto.article;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "文章评论DTO", description = "文章评论DTO")
public class ArtCommentDTO extends BaseDTO {
    
    @Schema(description = "文章ID")
    private Long articleId;
    
    @Schema(description = "父评论ID，顶级为0")
    private Long parentId;
    
    @Schema(description = "回复评论ID")
    private Long replyTo;
    
    @Schema(description = "评论人ID")
    private Long userId;
    
    @Schema(description = "评论内容")
    private String content;
    
    @Schema(description = "点赞数")
    private Integer likeCount;
    
    @Schema(description = "是否置顶：1-是 0-否")
    private Integer isTop;
    
    @Schema(description = "状态：0-待审 1-正常 2-隐藏")
    private Integer status;
    
    @Schema(description = "评论者IP")
    private String ip;
    
    @Schema(description = "评论者UA")
    private String userAgent;
}